﻿function deleteStatusWindow(Id) {

    var win = Ext.create('widget.window', {
        title: 'Deletando Status',
        closable: true,
        closeAction: 'hide',
        layout: 'fit',
        width: 300,
        minWidth: 150,
        height: 200,
        layout: {
            type: 'border',
            padding: 5
        },
        items: [{
            region: 'center',
            xtype: 'tabpanel',
            autoLoad: 'Status/Delete/' + Id.toString()
        }]
    });
    win.show(this, null);
}